package com.cskaoyan.bean.cart.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data //只更新数量
@AllArgsConstructor
@NoArgsConstructor
public class UpdateCartItemBo {

    /**
     * productId : 68
     * goodsId : 1055016
     * number : 4
     * id : 60
     */
    @NotNull
    private Integer productId;
    @NotNull
    private Integer goodsId;
    @NotNull
    private Integer number;
    @NotNull
    private Integer id;//购车id

}
